package com.rt.schedulebase.dto.esb.schedule.response.xray;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.List;

/**
 * @author ljy aka ryan
 * @date 2023/3/22$ 14:03$
 * @description TODO
 */
@Data
public class XRayScheduleResponseMsg {
//    			<IMAGE_NO>202207130001</IMAGE_NO>
//			<PAT_ID>0005687389</PAT_ID>
//			<PAT_NAME>彭建祥</PAT_NAME>
//			<TRIAGE_EXAM_DEPT>第三照片室</TRIAGE_EXAM_DEPT>
//			<NO>169</NO>
//			<EXAM_ITEM>小肠插管造影,胸部正侧位照片</EXAM_ITEM>
//			<TRIAGE_TIME>2023-01-04 15:00:00</TRIAGE_TIME>
//			<EXAM_PAT_RESOURCE_CODE>2</EXAM_PAT_RESOURCE_CODE>
//			<EXAM_PAT_RESOURCE_NAME>急诊</EXAM_PAT_RESOURCE_NAME>
//			<PLAN_EXAM_TIME>2022/7/13 18:44:01</PLAN_EXAM_TIME>
//			<SEX>男</SEX>
//			<AGE>45-Y,0-M,0-D,0-H,0-MIN</AGE>
//			<EXAM_CATEG_NAME>DX</EXAM_CATEG_NAME>
//			<EXAM_CATEG_CODE>DX</EXAM_CATEG_CODE>
//			<DETAILS>
//				<DETAIL>
//					<ELECTR_REQUISITION_NO>16||5</ELECTR_REQUISITION_NO>
//				</DETAIL>
//				<DETAIL>
//					<ELECTR_REQUISITION_NO>16||6</ELECTR_REQUISITION_NO>
//				</DETAIL>
//			</DETAILS>
//			<RESULT_CODE>1</RESULT_CODE>

    @JacksonXmlProperty(localName = "IMAGE_NO")
    private String imageNo;
    @JacksonXmlProperty(localName = "PAT_ID")
    private String patId;
    @JacksonXmlProperty(localName = "PAT_NAME")
    private String patName;

    @JacksonXmlProperty(localName = "NO")
    private String no;

    @JacksonXmlProperty(localName = "EXAM_ITEM")
    private String examItem;

    @JacksonXmlProperty(localName = "TRIAGE_TIME")
    private String triageTime;

    @JacksonXmlProperty(localName = "TRIAGE_EXAM_DEPT")
    private String triageExamDept;

    @JacksonXmlProperty(localName = "EXAM_PAT_RESOURCE_CODE")
    private String examPatResourceCode;

    @JacksonXmlProperty(localName = "EXAM_PAT_RESOURCE_NAME")
    private String examPatResourceName;
    /**
     * 预计检查时间
     */
    @JacksonXmlProperty(localName = "PLAN_EXAM_TIME")
    private String planExamTime;


    @JacksonXmlProperty(localName = "SEX")
    private String sex;


    @JacksonXmlProperty(localName = "AGE")
    private String age;


    @JacksonXmlProperty(localName = "EXAM_CATEG_NAME")
    private String examCategName;

    @JacksonXmlProperty(localName = "EXAM_CATEG_CODE")
    private String examCategCode;

    @JacksonXmlElementWrapper(localName = "DETAILS")
    @JacksonXmlProperty(localName = "DETAIL")
    private List<XRayResponseMsgDetail> details;


    @JacksonXmlProperty(localName = "RESULT_CODE")
    private String resultCode;
}
